;;[Package]
(require 'package)
(setq package-archives '(("gnu"   . "http://mirrors.bfsu.edu.cn/elpa/gnu/")
                         ("melpa" . "http://mirrors.bfsu.edu.cn/elpa/melpa/")))
(package-initialize) ;; You might already have this line

(when (not package-archive-contents)
  (package-refresh-contents))

;;[Package Install Base]
;;[company]
(package-install 'company)
(company-mode t)

;;[keycast] 
(package-install 'keycast)
(keycast-mode t)

;;[vertico]
(package-install 'vertico)
(vertico-mode t)

;;[orderless]
(package-install 'orderless)
(setq completion-styles '(orderless))

;;[marginalia]
(package-install 'marginalia)
(marginalia-mode t)

;;[embark]
(package-install 'embark)
;;(global-set-key (kbd "C-;") 'embark-act)
(setq prefix-help-command 'embark-prefix-help-command)

;;[consult]
(package-install 'consult)
;;(global-unset-key (kbd "C-i"))
;;(global-set-key (kbd "C-i s") 'consult-line)

 
